import 'package:get/get.dart';

import '../modules/button/bindings/button_binding.dart';
import '../modules/button/button1/bindings/button1_binding.dart';
import '../modules/button/button1/views/button1_view.dart';
import '../modules/button/button2/bindings/button2_binding.dart';
import '../modules/button/button2/views/button2_view.dart';
import '../modules/button/button3/bindings/button3_binding.dart';
import '../modules/button/button3/views/button3_view.dart';
import '../modules/button/button4/bindings/button4_binding.dart';
import '../modules/button/button4/views/button4_view.dart';
import '../modules/button/button5/bindings/button5_binding.dart';
import '../modules/button/button5/views/button5_view.dart';
import '../modules/button/button6/bindings/button6_binding.dart';
import '../modules/button/button6/views/button6_view.dart';
import '../modules/button/button7/bindings/button7_binding.dart';
import '../modules/button/button7/views/button7_view.dart';
import '../modules/button/button8/bindings/button8_binding.dart';
import '../modules/button/button8/views/button8_view.dart';
import '../modules/button/views/button_view.dart';
import '../modules/home/bindings/home_binding.dart';
import '../modules/home/views/home_view.dart';
import '../modules/typography/bindings/typography_binding.dart';
import '../modules/typography/typography1/bindings/typography1_binding.dart';
import '../modules/typography/typography1/views/typography1_view.dart';
import '../modules/typography/typography2/bindings/typography2_binding.dart';
import '../modules/typography/typography2/views/typography2_view.dart';
import '../modules/typography/views/typography_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.HOME;

  static final routes = [
    GetPage(
      name: _Paths.HOME,
      page: () => const HomeView(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: _Paths.BUTTON,
      page: () => const ButtonView(),
      binding: ButtonBinding(),
      children: [
        GetPage(
          name: _Paths.BUTTON1,
          page: () => const Button1View(),
          binding: Button1Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON2,
          page: () => const Button2View(),
          binding: Button2Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON3,
          page: () => const Button3View(),
          binding: Button3Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON4,
          page: () => const Button4View(),
          binding: Button4Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON5,
          page: () => const Button5View(),
          binding: Button5Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON6,
          page: () => const Button6View(),
          binding: Button6Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON7,
          page: () => const Button7View(),
          binding: Button7Binding(),
        ),
        GetPage(
          name: _Paths.BUTTON8,
          page: () => const Button8View(),
          binding: Button8Binding(),
        ),
      ],
    ),
    GetPage(
      name: _Paths.TYPOGRAPHY,
      page: () => const TypographyView(),
      binding: TypographyBinding(),
      children: [
        GetPage(
          name: _Paths.TYPOGRAPHY1,
          page: () => const Typography1View(),
          binding: Typography1Binding(),
        ),
        GetPage(
          name: _Paths.TYPOGRAPHY2,
          page: () => const Typography2View(),
          binding: Typography2Binding(),
        ),
      ],
    ),
  ];
}
